package main
import(
	"fmt"
	"go_code/project01/chapter10/factory/model"
)

func main(){
	var stu2 = model.NewStudent2("tom",2)
	stu := model.NewStudent("npc",3)
	fmt.Println("score=",stu.GetScore()) //  score =3
	fmt.Println("socre=",stu2.GetScore2()) // score=2
}